import request from '@/utils/request'

export function addApi(params: Record<string, any>) {
  return request.post({
    url: '/activity/draw/add',
    method: 'post',
    params,
  })
}
export function deleteApi(params: Record<string, any>) {
  return request.post({
    url: '/activity/draw/delete',
    method: 'post',
    params,
  })
}
export function editApi(params: Record<string, any>) {
  return request.post({
    url: '/activity/draw/edit',
    method: 'post',
    params,
  })
}
export function listsApi(params: Record<string, any>) {
  return request.post({
    url: '/activity/draw/lists',
    method: 'post',
    params,
  })
}
export function detailApi(params: Record<string, any>) {
  return request.post({
    url: '/activity/draw/detail',
    method: 'post',
    params,
  })
}
export function statusApi(params: Record<string, any>) {
  return request.post({
    url: '/activity/draw/status',
    method: 'post',
    params,
  })
}
